package com.lu.statistics.entity.front.request;

import com.lu.statistics.entity.enums.GoodsTypeEnum;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

@Getter
@Setter
@ApiModel(value = "创建购物车信息")
public class CreateCustomerCart {
    @ApiModelProperty(value = "客户id", required = true, name = "customerId", dataType = "int")
    private Integer customerId;
    @ApiModelProperty(value = "商品分类Id", required = true, name = "categoriesId", dataType = "int")
    private Integer categoriesId;
    @ApiModelProperty(value = "商品Id", required = true, name = "productId", dataType = "int")
    private Integer productId;
    @ApiModelProperty(value = "商品类型", required = true, name = "productType", dataType = "string")
    private GoodsTypeEnum productType;
    @ApiModelProperty(value = "商品价格", required = true, name = "productPrice", dataType = "string")
    private String productPrice;
    @ApiModelProperty(value = "购买数量", required = true, name = "quantity", dataType = "int")
    private Integer quantity;
    @ApiModelProperty(value = "价格", required = true, name = "price", dataType = "string")
    private String price;
}
